<template>
  <div>
    <ConditionSelect v-model="value" clearable title="区域：" :options="options" @conditionChange="conditionChange" />
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { ConditionSelect } from '..';

const options = [
  { value: '4', label: '广州' },
  { value: '8', label: '杭州' },
];

const value = ref<string>('8');

const conditionChange = (val: string, tar: any) => {
  console.log(val);
  console.log(tar);
};
</script>
